package com.langyiquan.service;

import com.langyiquan.bo.AddressBO;
import com.langyiquan.pojo.UserAddress;

import java.util.List;

public interface AddressService{

    public List<UserAddress> getAddressList(String userId);

    public void addAddress(AddressBO addressBO);

    public void updateAddress(AddressBO addressBO);

    public void deleteAddress(String userId, String addressId);

    public void setDefalutAddress(String userId, String addressId);

    public UserAddress queryUserAddress(String userId, String addressId);

}
